package com.eas.task.transform.util;

import java.util.HashMap;
import java.util.Map;


public class ObjectiveQuestion extends BaseQuestion {

    private String answer;

    private Map<String, Float> answerScore;

    public ObjectiveQuestion() {
        answerScore = new HashMap<String, Float>();
    }

    public void addAnswerScore(String answer, float score) {
        answerScore.put(answer, score);
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public Map<String, Float> getAnswerScore() {
        return answerScore;
    }

    public void setAnswerScore(Map<String, Float> answerScore) {
        this.answerScore = answerScore;
    }

}
